{imp:"c_pub/a-frame"}<!--模板继承-->

{block:init}{:parent}<?php 
extract(\imcat\umc\texBase::tips_init($this), EXTR_OVERWRITE);
$tipmsg = 'Welcome!';
if($user->userFlag=='Guest'){
    $unqid = usrPerm::getUniqueid(); 
    $ordwcnt = 0;//$db->table('coms_cocar')->where("ordid='$unqid'")->count(); 
}else{
    $ordwcnt = 0;//$db->table('coms_corder')->where("auser='$uname'")->count();     
}

$cnt1 = \imcat\umc\texIndoc::expwhr($user,"ipub",0,'no',1);
$cnt2 = \imcat\umc\texIndoc::expwhr($user,"imy",0,'no',1);

?>{/block:init}

{block:action}
<div class="umc-mitem">
    <h3><i>user info</i>{lang('user.pub_uinfo')}: </h3>
    <dl>
        <dt>{lang(user.pub_uinfo)}: </dt><dd>{=$unowstr}</dd>
        {if ($user->userFlag=='Guest') }
        <dt>{lang(user.uif_corder)}: </dt><dd>{lang(user.uif_caritems,"$ordwcnt")}, <a href="#">{lang(user.uif_clickv)}&gt;&gt;</a>. 
          ({lang(user.uif_nolontip)})</dd>
        <dt>{lang(user.uif_unow)}: </dt><dd>{lang(user.uif_notlogin)}<a href="{surl($ulogin)}">{lang(user.uif_clickl)}</a> {lang(user.uif_or)} <a href="{surl($uapply)}">{lang(user.uif_clickr)}</a>......</dd>
        {else}
        <!--
        <dt>{lang(user.uif_sysmsg)}: </dt><dd>{lang(user.uif_noreadn,"$cnt1")}, <a href="?indoc-iget&part=ipub">{lang(user.uif_allmsg)}&gt;&gt;</a></dd>
        <dt>{lang(user.uif_corder)}: </dt><dd>{lang(user.uif_noendord,"$ordwcnt")}, <a href="{surl(order)}">{lang(user.uif_allord)}&gt;&gt;</a></dd>
        <dt>{lang(user.pub_indoc)}: </dt><dd>{lang(user.uif_noreadn,"$cnt2")}, <a href="?indoc-iget&part=imy">{lang(user.uif_alldoc)}&gt;&gt;</a>, <a href="{surl(indoc-iedit)}">{lang(user.uif_pub)}&gt;&gt;</a></dd>
        -->
        {/if}
        <dt>{lang(user.uif_runinfo)}: </dt><dd>{=$runinfo}</dd>
        <dt>{lang(user.uif_sysinfo)}: </dt><dd>ServerTime:{= date('Y-m-d H:i:s'); } IP:{= $_cbase['run']['userip'] ;}</dd>
        <dt>{lang(user.uif_tlinks)}: </dt><dd>
          <a id='ids_testlogin' href="{surl(user-testlogin)}">(testlogin)</a>
          <a id='ids_testguset' href="{surl(user-testguset)}">(testguset)</a>
          <a id='ids_testset' href="{surl(user-testset)}">(testset)</a>
          <a id='ids_tips' href="{surl(uio-tips)}">(Tips)</a>
        </dd> 
    </dl>
</div>
{/block:action}
